/*
 * create by Littleken at 2019/3/14 12:01
 */
package com.littleken.product.VO;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
/**
 * json数据处理，用于拼装商品信息数据
 */
public class ProductInfoVO  implements Serializable {
    private static final long serialVersionUID = -154584823233915387L;//可序列化，用于页面缓存

    @JsonProperty("id")
    private String productId;

    @JsonProperty("name")
    private String productName;

    @JsonProperty("price")
    private BigDecimal productPrice;

    @JsonProperty("description")
    private String productDescription;

    @JsonProperty("icon")
    private String productIcon;

}
